@import "main.scss";
$topNavHeight: 56px;
$leftNavWidth: 200px;
// 登录页
.page-login .form_camera {
  text-align: center;
}

.page-login .el-row {
  position: relative;
}

.page-login .sm-top-img,
{
  margin-top: 3%;
}

.page-login .sm-top-img-1 {
  margin-top: 3%;
  text-align: center;
}

.page-login .sm-top-img-2 {
  text-align: center;
  margin-top: 10px;
}

.page-login .el-input .el-input__inner {
  padding-left: 30px;
  border-radius: 4px;
}

.page-login .userImg .el-input__inner {
  background: url(../../lib/img/loginImg/user.png) no-repeat 4px;
  background-color: rgb(230, 231, 233);
}

.page-login .pwdImg .el-input__inner {
  background: url(../../lib/img/loginImg/pwd-i.png) no-repeat 4px;
  background-color: rgb(230, 231, 233);
}

.page-login .verifiImg .el-input__inner {
  background: url(../../lib/img/loginImg/yanzhengma.png) no-repeat 4px;
  background-color: rgb(230, 231, 233);
}

.page-login .btn {
  width: 100%;
  border-radius: 5px;
}

.page-login .bannerDiv {
  width: 100%;
  overflow: hidden;
  background-color: #3C8DBC;
  text-align: center;
}

.page-login .card-box {
  box-shadow: 0 0px 8px 0 rgba(0, 0, 0, 0.06), 0 1px 0px 0 rgba(0, 0, 0, 0.02);
  -webkit-border-radius: 5px;
  border-radius: 5px;
  -moz-border-radius: 5px;
  background-clip: padding-box;
  margin-bottom: 20px;
  background-color: #F9FAFC;
}

.page-login .title {
  margin: 0px auto 6% auto;
  text-align: center;
  color: rgb(60, 141, 188);
}


.page-login footer {
  width: 100%;
  background-color: #333333;
  color: white;
  font-size: 12px;
  text-align: center;
  line-height: 75px;
  position: fixed;
  bottom: 0;
}

.app-index {
  &.mini-sidebar {
    .top-nav-bar .navbar-header {
      width: 64px;
    }
    .main-bottom{
      
    }
    .main-container, .main-bottom {
      padding-left: 64px;
    }
    .top-nav-bar .navbar-header .navbar-brand {
      display: none;
    }
  }
  .el-menu-vertical {
    background-color: #fff;
    overflow-y: auto;
    .el-submenu .el-menu {
      box-shadow: 1px 0px 10px rgba(0, 0, 0, 0.08);
      background-color: #fff;
    }
  }
  .el-menu-vertical:not(.el-menu--collapse) {
    width: $leftNavWidth;
    min-height: 400px;
  }
  .metismenu {
    width: $leftNavWidth;
    padding: 10px;
    padding-bottom: 250px;
    background-color: #fff;
    transition: width .3s ease-out;
    -moz-transition: width .3s ease-out;
    /* Firefox 4 */
    -webkit-transition: width .3s ease-out;
    /* Safari 和 Chrome */
    -o-transition: width .3s ease-out;
    /* Opera */
    .collapse.in,
    .collapsing {
      // background-color: rgba(0, 0, 0, 0.08);
      padding-left: 13px;
    }
    &.menu-collapse {
      padding: 0;
      width: 64px;
      a {
        .nav-title {
          display: none;
        }
      }
      li{
        a{
          border-radius: 0;
        }
      }
      
    }
    a{
      height: 40px;
      line-height: 40px;
    }
    .child-ul{
      a{
        height: 35px;
        line-height: 35px;
      }
    }
    &.menu-not-collapse{
      .child-ul{
        .iconfont{
          display: none;
        }        
      }      
    }
    li {
      &.active>a {
        // background-color: #26C6DA;
        color: $mainColor;
        // color: #ffffff;
        &:after {
          // color: #ffffff;
          color: $mainColor;
        }
        i {
          // color: #ffffff;
          color: $mainColor;
        }
      }
      a {
        position: relative;
        display: block;
        padding: 2px 12px;
        text-decoration: none;
        color: #606266;
        border-bottom: 1px solid #ffffff;
        border-radius: 5px;
        &:after {
          color: #606266;
        }
        img {
          height: 28px;
        }
        img.icon-a {
          display: none;
        }
        i {
          color: #606266;
        }
        .nav-title {
          // position: absolute;
          // top: 20px;
          // left: 35px;
          transition: opacity .3s;
          -moz-transition: opacity .3s;
          /* Firefox 4 */
          -webkit-transition: opacity .3s;
          /* Safari 和 Chrome */
          -o-transition: opacity .3s;
          /* Opera */
          margin-left: 15px;
        }
        .iconfont {
          font-size: 24px;
        }
        &.active,
        // &:hover {          
        //   color: #ffffff;
        //   &:after {
        //     color: #ffffff;
        //   }
        //   i {
        //     color: #ffffff;
        //   }
        // }
        &:hover {          
          color: $mainColor;
          &:after {
            color: $mainColor;
          }
          i {
            color: $mainColor;
          }
        }
        &.active {
          background-color: #d1dbe5;
          color: $mainColor;
           &:after {
            color: $mainColor;
          }
          i {
            color: $mainColor;
          }
        }
        // &:hover {
        //   background-color: #d1dbe5;
        // }
      }
    }
  }
  .left-nav-bar {
    z-index: 20;
    position: fixed;
    padding-top: 56px;
    height: 100%;
    min-height: 100%;
    top: 0;
    transition: 0.05s ease-in;
    background: #fff;
    box-shadow: 1px 0px 20px rgba(0, 0, 0, 0.08);
    border: 0px;
    .togg-nav {
      height: 64px;
      font-size: 16px;
      cursor: pointer;
      padding-left: 24px;
      &:hover {
        background-color: #d1dbe5;
      }
    }
  }
  .top-nav-bar {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    padding-top: 0;
    padding-bottom: 0;
    background-color: $mainColor;
    z-index: 50;
    padding-left: 0;
    .navbar-left {
      height: $topNavHeight;
      line-height: $topNavHeight;
    }
    .navbar-header {
      width: $leftNavWidth;
      height: $topNavHeight;
      line-height: $topNavHeight;
      text-align: center;
      background-color: #1C81D9;
    }
    .nav-btn {
      cursor: pointer;
      color: #ffffff;
      height: $topNavHeight;
      line-height: $topNavHeight;
      padding-left: 15px;
      padding-right: 15px;
    }
    .navbar-brand {
      display: inline-block;
      font-weight: bolder;
      padding-top: 0;
      padding-bottom: 0;
      margin-right: 0;
      font-size: 16px;
      line-height: inherit;
      white-space: nowrap;
    }




    .dropdown-toggle {
      color: #ffffff;
      text-decoration: none;
      display: block;
      height: $topNavHeight;
      line-height: $topNavHeight;
      min-width: 56px;
      text-align: center;
      position: relative;
      &::after {
        display: none;
      }
      &:hover {
        background-color: rgba(255, 255, 255, 0.08)
      }
      .b-peter-river {
        border-color: #3498db !important;
      }
      .bg-carrot {
        background-color: #e67e22 !important;
        color: #fff;
      }
      .icon-tips {
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        border-width: 3px;
        border-style: solid;
        border-color: inherit;
        border-radius: inherit;
        -webkit-animation-name: waves;
        animation-name: waves;
        -webkit-animation-timing-function: cubic-bezier(0.42, 0, 0.58, 1);
        animation-timing-function: cubic-bezier(0.42, 0, 0.58, 1);
        -webkit-animation-duration: 1s;
        animation-duration: 1s;
        -webkit-animation-iteration-count: infinite;
        animation-iteration-count: infinite;
      }
      .point {
        position: absolute;
        width: 6px;
        height: 6px;
        border-radius: 50%;
        top: 9px;
        right: 9px;
        .icon-tips {
          top: -150%;
          left: -150%;
          width: 400%;
          height: 400%;
        }
      }
      .b-orange {
        border-color: #f39c12 !important;
      }
      .label-primary {
        background-color: #337ab7;
      }
      .label {
        position: absolute;
        top: 6px;
        right: 6px;
        display: inline;
        padding: 0em .5em 0em;
        font-size: 75%;
        font-weight: 700;
        line-height: 1;
        color: #fff;
        text-align: center;
        white-space: nowrap;
        vertical-align: baseline;
        border-radius: .25em;
      }
    }
    .nav-item {
      height: 100%;
      position: relative;
      &.nav-map {
        .dropdown-menu {
          left: -345px;
        }
      }
    }
    .el-dropdown {
      color: #fff;
      cursor: pointer;
    }
  }
  .bottom-nav-bar {
    height: 56px;
    .bottom-text {
      color: #8b8b8b;
    }
  }
  .main-bottom{
    padding-left: $leftNavWidth; // padding-bottom: 76px;
    transition: padding .3s ease-out;
    -moz-transition: padding .3s ease-out;
    /* Firefox 4 */
    -webkit-transition: padding .3s ease-out;
    /* Safari 和 Chrome */
    -o-transition: padding .3s ease-out;
    /* Opera */
  }
  .main-container {
    min-height: 100%;
    padding-top: 56px;
    padding-left: $leftNavWidth; // padding-bottom: 76px;
    padding-bottom: 20px;
    transition: padding .3s ease-out;
    -moz-transition: padding .3s ease-out;
    /* Firefox 4 */
    -webkit-transition: padding .3s ease-out;
    /* Safari 和 Chrome */
    -o-transition: padding .3s ease-out;
    /* Opera */
    .main-bottom{
      text-align: center;position: absolute;bottom: 0;
      left: 50%;margin-left: -300px;
    }
  }
  .bread-box {
    background-color: #ffffff;
    padding-left: 15px;
    padding-right: 15px;
    .page-title {
      color: $mainColor;
      font-weight: bolder;
      font-size: 21px;
      padding-top: 10px;
      padding-bottom: 5px;
    }
    .log-out {
      padding: 0.15rem 1.5rem;
    }
    .current-page {
      font-weight: bolder;
    }
    .el-breadcrumb__item:last-child .el-breadcrumb__item__inner,
    .el-breadcrumb__item:last-child .el-breadcrumb__item__inner a,
    .el-breadcrumb__item:last-child .el-breadcrumb__item__inner a:hover,
    .el-breadcrumb__item:last-child .el-breadcrumb__item__inner:hover {
      color: #28a745;
    }
    .c-page {
      font-weight: bolder;
      color: $mainColor;
      padding-top: 10px;
      padding-bottom: 10px;
    }
    .c-model {
      color: #8b8b8b;
    }
    .xiegang {
      margin-left: 3px;
      margin-right: 3px;
    }
  }
  .page-container {
    margin-top: 20px;
    margin-left: 20px;
    margin-right: 20px;
    background-color: #ffffff;
    padding-top: 20px;
    .top-box {
      padding-top: 15px;
      padding-bottom: 15px;
      .jz-btn {
        margin-left: 20px;
      }
    }
    .top-box {
      .name {
        font-size: 16px;
        color: $mainColor;
      }
    }
    .option-items {
      padding: 10px;
      .left-items {
        float: left;
      }
      .right-items {
        float: right;
      }
    }
    .option-box {
      padding-bottom: 15px;
      height: 45px;
      float: left;
      .name {
        margin-right: 10px;
        display: inline-block;
        width: 120px;
        text-align: right;
      }
      .option-name {
        margin-right: 30px;
        cursor: pointer;
        &:hover {
          color: $mainColor;
        }
        &.active {
          color: $mainColor;
        }
      }
      .el-input {
        width: 320px;
      } //    .el-input__icon {
      //      color: #26c6da;
      //      cursor: pointer;
      //    }
      .btns {
        width: 100%;
      }
      .btns-box {
        .jz-btn {
          margin-left: 10px;
        }
      }
      .el-checkbox__inner:hover {
        border: 1px solid #8d9ea7;
        transition: all 0.30s ease-in-out;
      }
      .el-checkbox__inner {
        transition: all 0.30s ease-in-out;
      }
      .el-checkbox__input.is-checked .el-checkbox__inner {
        background: #39a93e;
        border-color: #39a93e;
      }
      .el-checkbox__input.is-focus .el-checkbox__inner {
        border-color: #39a93e;
      }
    }
    .data-grid {
      border: 1px solid #cccccc;
    }
    .elem-table {
      padding: 10px;
    }
    .el-table {
      label.el-checkbox {
        margin-bottom: 0;
      }
    }
  }
  .icon-fanhuidingbu {
    color: #ffffff;
  }
  .back-to-top {
    position: fixed;
    right: 10px;
    bottom: 10px;
    z-index: 9999999;
    height: 40px;
    width: 40px;
    cursor: pointer;
    &:hover {
      background-color: rgba(255, 255, 255, 0.08)
    }
  }
  @keyframes waves {
    0% {
      -webkit-transform: scale(0.5);
      transform: scale(0.5);
      opacity: 0.0;
    }
    25% {
      -webkit-transform: scale(0.5);
      transform: scale(0.5);
      opacity: 0.1;
    }
    50% {
      -webkit-transform: scale(0.6);
      transform: scale(0.6);
      opacity: 0.3;
    }
    75% {
      -webkit-transform: scale(0.75);
      transform: scale(0.75);
      opacity: 0.5;
    }
    100% {
      -webkit-transform: scale(1);
      transform: scale(1);
      opacity: 0.0;
    }
  }
  .fadeInUp {
    -webkit-animation-name: fadeInUp;
    animation-name: fadeInUp;
  }
  .animated-slw {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
  }
}

.jz-modal {
  .el-dialog__header {
    background-color: $mainColor;
    color: #ffffff;
    padding: 0;
    padding-left: 20px;
    height: 60px;line-height: 60px;
    .el-dialog__title,
    .el-dialog__close.el-icon.el-icon-close {
      color: #ffffff;
    }
    .el-dialog__headerbtn{
      top: 0;
      right: 0;
      padding-left: 20px;padding-right: 20px;
      &:hover{
        background-color: rgba(255, 255, 255, 0.3)
      }
    }
  }
  .dialog-footer {
    .jz-btn-gray {
      margin-right: 10px;
    }
  }
  .tlt {
    padding-bottom: 15px;
    border-bottom: 1px solid $grayColor;
  }
  .row-block{

  }
  .el-form-item{
    width: 100%;
  }
  .el-form-item__content{
    &>.el-input, &>.el-select, &>.el-cascader, &>div:not(.el-checkbox-group){
      width: 220px;
    }
    &>div{
      word-break:break-all;
    }    
  }
  .el-form-item.form-item {
    width: 280px;
  }
  .el-select {
    .el-input {
      .el-input__icon {
        top: 0;
      }
    }
  }
  .el-tree-node {
    .el-tree-node__content>.el-tree-node__expand-icon {
      &:before {
        // content: '';
      }
    }
    .el-checkbox {
      margin-bottom: 0;
    }
  }
}

.el-input.el-pagination__editor.is-in-pagination {
  border: none;
}

.el-pager li.active {
  border-color: $mainColor;
  background-color: $mainColor;
  color: #fff;
  cursor: default;
}
.el-loading-spinner{
  .el-icon-loading, .el-loading-text{
    color: $mainColor;
  }
}
.el-table{
  .el-table__body{
    .el-table__row{
      &.current-row>td{
        background-color: $mainColor;
        color: #ffffff;
      }
      &.error-row, &.error-row:hover, &.error-row:hover>td{
        background-color: RGBA(252, 75, 108, 0.3)
      }
      &.editable-row, &.editable-row:hover, &.editable-row:hover>td{
        background-color: RGBA(103, 194, 58, 0.3)
      }
    }
  }
}
.row-expand-box{
  max-width: 600px;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-justify-content: flex-start;
  justify-content: flex-start;
  -webkit-align-items: center;
  align-items: center;
  .row-expand-row{
    min-width: 250px;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    -webkit-align-items: center;
    align-items: center;
    .row-expand-label{
      min-width: 90px;text-align: right;padding-right: 10px;color: $mainColor;
    }
  }
}
.order-modal{
  .el-form-item__content{
    max-width: calc(100% - 120px);-moz-max-width: calc(100% - 120px);width: calc(100% - 120px);-moz-width: calc(100% - 120px);word-break: break-word;
  }
}